package com.ccys.db.mapper;

import com.ccys.db.dto.discount.PromoCodeDto;
import com.ccys.db.entity.TblPromoCode;
import com.ccys.db.vo.discount.PromoCodeFindListSelectVo;
import com.ccys.db.vo.discount.PromoCodePageQueryVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/15
*/
public interface TblPromoCodeMapper extends Mapper<TblPromoCode>, MySqlMapper<TblPromoCode> {
    TblPromoCode findPromoCodeByCode(@Param("code") String code);

    List<PromoCodePageQueryVo> findPagePromoCode(PromoCodeDto dto);

    List<PromoCodeFindListSelectVo> findListSelect();
}